package com.orange.framework.consumer.annotation;

import com.orange.framework.consumer.convert.NullConverter;
import com.orange.framework.consumer.convert.ConsumerConverter;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface HttpMapping {

    String transCode();

    Class<? extends ConsumerConverter> convert() default NullConverter.class;

}
